package abg.core.domain.db;

import abg.core.common.mybatis.config.FieldInsert;
import abg.core.common.mybatis.config.FieldSet;
import abg.core.common.mybatis.config.FieldUpdate;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * 会议室消息
 *
 * @author leyili
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Table(value = "mt_room_msg", onUpdate = FieldUpdate.class, onInsert = FieldInsert.class, onSet = FieldSet.class)
public class MtRoomMsg extends ZBEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;


    /**
     * 房间ID
     */
    private String roomId;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 消息内容
     */
    private String content;

}
